<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    {% if title == '' %}
        <title>欢迎来到管理平台</title>
    {% elif title == 'register' %}
        <title>用户注册</title>
    {% endif %}
{#    <link rel="stylesheet" href="/static/css/reset.css">#}
    <link rel="stylesheet" href="{{ url_for('static',filename='css/reset.css') }}">
    <style>
        a{
            text-decoration: none;
        }

        #logo:link,#logo:visited,#logo:hover,#logo:active{
            color: #fff;
        }
    </style>
</head>
<body>
    <div class="wrapper">
        <div class="head">
            <h1>
                <a id="logo" href="#">
                    <img class="img"></img>
                    <span>欢迎来到管理平台</span>
                </a>
            </h1>
        </div>
        <div class="main">
            {% if title == '' %}
                {% block reg %}
                {% endblock %}
            {% elif title == 'home' %}
                {% block home %}
                {% endblock %}
            {% endif %}
        </div>
    </div>
</body>
</html>